home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 November / SGI Freeware 1999 November - Disc 1.iso / dist / fw_cvs.idb / usr / freeware / info / cvs.info-8.z / cvs.info-8
Encoding:
GNU Info File  |  1999-04-16  |  20.7 KB  |  445 lines

  1. This is Info file cvs.info, produced by Makeinfo version 1.67 from the
  2. input file ./cvs.texinfo.
  3.  
  4. START-INFO-DIR-ENTRY
  5. * CVS: (cvs).          Concurrent Versions System
  6. END-INFO-DIR-ENTRY
  7.  
  8.    Copyright (C) 1992, 1993 Signum Support AB Copyright (C) 1993, 1994
  9. Free Software Foundation, Inc.
  10.  
  11.    Permission is granted to make and distribute verbatim copies of this
  12. manual provided the copyright notice and this permission notice are
  13. preserved on all copies.
  14.  
  15.    Permission is granted to copy and distribute modified versions of
  16. this manual under the conditions for verbatim copying, provided also
  17. that the entire resulting derived work is distributed under the terms
  18. of a permission notice identical to this one.
  19.  
  20.    Permission is granted to copy and distribute translations of this
  21. manual into another language, under the above conditions for modified
  22. versions, except that this permission notice may be stated in a
  23. translation approved by the Free Software Foundation.
  24.  
  25. 
  26. File: cvs.info,  Node: Error messages,  Next: Connection,  Up: Troubleshooting
  27.  
  28. Partial list of error messages
  29. ==============================
  30.  
  31.    Here is a partial list of error messages that you may see from CVS.
  32. It is not a complete list--CVS is capable of printing many, many error
  33. messages, often with parts of them supplied by the operating system,
  34. but the intention is to list the common and/or potentially confusing
  35. error messages.
  36.  
  37.    The messages are alphabetical, but introductory text such as `cvs
  38. update: ' is not considered in ordering them.
  39.  
  40.    In some cases the list includes messages printed by old versions of
  41. CVS (partly because users may not be sure which version of CVS they are
  42. using at any particular moment).
  43.  
  44. `cvs COMMAND: authorization failed: server HOST rejected access'
  45.      This is a generic response when trying to connect to a pserver
  46.      server which chooses not to provide a specific reason for denying
  47.      authorization.  Check that the username and password specified are
  48.      correct and that the CVSROOT specified is allowed by -allow-root
  49.      in inetd.conf.  See *Note Password authenticated::.
  50.  
  51. `FILE:LINE: Assertion 'TEXT' failed'
  52.      The exact format of this message may vary depending on your
  53.      system.  It indicates a bug in CVS, which can be handled as
  54.      described in *Note BUGS::.
  55.  
  56. `cvs COMMAND: conflict: removed FILE was modified by second party'
  57.      This message indicates that you removed a file, and someone else
  58.      modified it.  To resolve the conflict, first run `cvs add FILE'.
  59.      If desired, look at the other party's modification to decide
  60.      whether you still want to remove it.  If you don't want to remove
  61.      it, stop here.  If you do want to remove it, proceed with `cvs
  62.      remove FILE' and commit your removal.
  63.  
  64. `cannot change permissions on temporary directory'
  65.           Operation not permitted
  66.      This message has been happening in a non-reproducible, occasional
  67.      way when we run the client/server testsuite, both on Red Hat Linux
  68.      3.0.3 and 4.1.  We haven't been able to figure out what causes it,
  69.      nor is it known whether it is specific to linux (or even to this
  70.      particular machine!).  If the problem does occur on other unices,
  71.      `Operation not permitted' would be likely to read `Not owner' or
  72.      whatever the system in question uses for the unix `EPERM' error.
  73.      If you have any information to add, please let us know as
  74.      described in *Note BUGS::.  If you experience this error while
  75.      using CVS, retrying the operation which produced it should work
  76.      fine.
  77.  
  78. `cannot open CVS/Entries for reading: No such file or directory'
  79.      This generally indicates a CVS internal error, and can be handled
  80.      as with other CVS bugs (*note BUGS::.).  Usually there is a
  81.      workaround--the exact nature of which would depend on the
  82.      situation but which hopefully could be figured out.
  83.  
  84. `cvs [init aborted]: cannot open CVS/Root: No such file or directory'
  85.      This message is harmless.  Provided it is not accompanied by other
  86.      errors, the operation has completed successfully.  This message
  87.      should not occur with current versions of CVS, but it is documented
  88.      here for the benefit of CVS 1.9 and older.
  89.  
  90. `cvs [checkout aborted]: cannot rename file FILE to CVS/,,FILE: Invalid argument'
  91.      This message has been reported as intermittently happening with
  92.      CVS 1.9 on Solaris 2.5.  The cause is unknown; if you know more
  93.      about what causes it, let us know as described in *Note BUGS::.
  94.  
  95. `cvs [COMMAND aborted]: cannot start server via rcmd'
  96.      This, unfortunately, is a rather nonspecific error message which
  97.      CVS 1.9 will print if you are running the CVS client and it is
  98.      having trouble connecting to the server.  Current versions of CVS
  99.      should print a much more specific error message.  If you get this
  100.      message when you didn't mean to run the client at all, you
  101.      probably forgot to specify `:local:', as described in *Note
  102.      Repository::.
  103.  
  104. `ci: FILE,v: bad diff output line: Binary files - and /tmp/T2a22651 differ'
  105.      CVS 1.9 and older will print this message when trying to check in
  106.      a binary file if RCS is not correctly installed.  Re-read the
  107.      instructions that came with your RCS distribution and the INSTALL
  108.      file in the CVS distribution.  Alternately, upgrade to a current
  109.      version of CVS, which checks in files itself rather than via RCS.
  110.  
  111. `cvs checkout: could not check out FILE'
  112.      With CVS 1.9, this can mean that the `co' program (part of RCS)
  113.      returned a failure.  It should be preceded by another error
  114.      message, however it has been observed without another error
  115.      message and the cause is not well-understood.  With the current
  116.      version of CVS, which does not run `co', if this message occurs
  117.      without another error message, it is definitely a CVS bug (*note
  118.      BUGS::.).
  119.  
  120. `cvs [login aborted]: could not find out home directory'
  121.      This means that you need to set the environment variables that CVS
  122.      uses to locate your home directory.  See the discussion of HOME,
  123.      HOMEDRIVE, and HOMEPATH in *Note Environment variables::.
  124.  
  125. `cvs update: could not merge revision REV of FILE: No such file or directory'
  126.      CVS 1.9 and older will print this message if there was a problem
  127.      finding the `rcsmerge' program.  Make sure that it is in your
  128.      `PATH', or upgrade to a current version of CVS, which does not
  129.      require an external `rcsmerge' program.
  130.  
  131. `cvs [update aborted]: could not patch FILE: No such file or directory'
  132.      This means that there was a problem finding the `patch' program.
  133.      Make sure that it is in your `PATH'.  Note that despite
  134.      appearances the message is *not* referring to whether it can find
  135.      FILE.  If both the client and the server are running a current
  136.      version of CVS, then there is no need for an external patch
  137.      program and you should not see this message.  But if either client
  138.      or server is running CVS 1.9, then you need `patch'.
  139.  
  140. `cvs update: could not patch FILE; will refetch'
  141.      This means that for whatever reason the client was unable to apply
  142.      a patch that the server sent.  The message is nothing to be
  143.      concerned about, because inability to apply the patch only slows
  144.      things down and has no effect on what CVS does.
  145.  
  146. `dying gasps from SERVER unexpected'
  147.      There is a known bug in the server for CVS 1.9.18 and older which
  148.      can cause this.  For me, this was reproducible if I used the `-t'
  149.      global option.  It was fixed by Andy Piper's 14 Nov 1997 change to
  150.      src/filesubr.c, if anyone is curious.  If you see the message, you
  151.      probably can just retry the operation which failed, or if you have
  152.      discovered information concerning its cause, please let us know as
  153.      described in *Note BUGS::.
  154.  
  155. `end of file from server (consult above messages if any)'
  156.      The most common cause for this message is if you are using an
  157.      external `rsh' program and it exited with an error.  In this case
  158.      the `rsh' program should have printed a message, which will appear
  159.      before the above message.  For more information on setting up a
  160.      CVS client and server, see *Note Remote repositories::.
  161.  
  162. `cvs commit: Executing 'mkmodules''
  163.      This means that your repository is set up for a version of CVS
  164.      prior to CVS 1.8.  When using CVS 1.8 or later, the above message
  165.      will be preceded by
  166.  
  167.           cvs commit: Rebuilding administrative file database
  168.  
  169.      If you see both messages, the database is being rebuilt twice,
  170.      which is unnecessary but harmless.  If you wish to avoid the
  171.      duplication, and you have no versions of CVS 1.7 or earlier in
  172.      use, remove `-i mkmodules' every place it appears in your `modules'
  173.      file.  For more information on the `modules' file, see *Note
  174.      modules::.
  175.  
  176. `missing author'
  177.      Typically this can happen if you created an RCS file with your
  178.      username set to empty.  CVS will, bogusly, create an illegal RCS
  179.      file with no value for the author field.  The solution is to make
  180.      sure your username is set to a non-empty value and re-create the
  181.      RCS file.
  182.  
  183. `*PANIC* administration files missing'
  184.      This typically means that there is a directory named CVS but it
  185.      does not contain the administrative files which CVS puts in a CVS
  186.      directory.  If the problem is that you created a CVS directory via
  187.      some mechanism other than CVS, then the answer is simple, use a
  188.      name other than CVS.  If not, it indicates a CVS bug (*note
  189.      BUGS::.).
  190.  
  191. `rcs error: Unknown option: -x,v/'
  192.      This message will be followed by a usage message for RCS.  It
  193.      means that you have an old version of RCS (probably supplied with
  194.      your operating system).  CVS only works with RCS version 5 and
  195.      later.
  196.  
  197. `cvs [server aborted]: received broken pipe signal'
  198.      This message seems to be caused by a hard-to-track-down bug in CVS
  199.      or the systems it runs on (we don't know--we haven't tracked it
  200.      down yet!).  It seems to happen only after a CVS command has
  201.      completed, and you should be able to just ignore the message.
  202.      However, if you have discovered information concerning its cause,
  203.      please let us know as described in *Note BUGS::.
  204.  
  205. `Too many arguments!'
  206.      This message is typically printed by the `log.pl' script which is
  207.      in the `contrib' directory in the CVS source distribution.  In
  208.      some versions of CVS, `log.pl' has been part of the default CVS
  209.      installation.  The `log.pl' script gets called from the `loginfo'
  210.      administrative file.  Check that the arguments passed in `loginfo'
  211.      match what your version of `log.pl' expects.  In particular, the
  212.      `log.pl' from CVS 1.3 and older expects the logfile as an argument
  213.      whereas the `log.pl' from CVS 1.5 and newer expects the logfile to
  214.      be specified with a `-f' option.  Of course, if you don't need
  215.      `log.pl' you can just comment it out of `loginfo'.
  216.  
  217. `cvs commit: Up-to-date check failed for `FILE''
  218.      This means that someone else has committed a change to that file
  219.      since the last time that you did a `cvs update'.  So before
  220.      proceeding with your `cvs commit' you need to `cvs update'.  CVS
  221.      will merge the changes that you made and the changes that the
  222.      other person made.  If it does not detect any conflicts it will
  223.      report `M cacErrCodes.h' and you are ready to `cvs commit'.  If it
  224.      detects conflicts it will print a message saying so, will report
  225.      `C cacErrCodes.h', and you need to manually resolve the conflict.
  226.      For more details on this process see *Note Conflicts example::.
  227.  
  228. `Usage:    diff3 [-exEX3 [-i | -m] [-L label1 -L label3]] file1 file2 file3'
  229.           Only one of [exEX3] allowed
  230.      This indicates a problem with the installation of `diff3' and
  231.      `rcsmerge'.  Specifically `rcsmerge' was compiled to look for GNU
  232.      diff3, but it is finding unix diff3 instead.  The exact text of
  233.      the message will vary depending on the system.  The simplest
  234.      solution is to upgrade to a current version of CVS, which does not
  235.      rely on external `rcsmerge' or `diff3' programs.
  236.  
  237. `warning: unrecognized response `TEXT' from cvs server'
  238.      If TEXT contains a valid response (such as `ok') followed by an
  239.      extra carriage return character (on many systems this will cause
  240.      the second part of the message to overwrite the first part), then
  241.      it probably means that you are using the `:ext:' access method
  242.      with a version of rsh, such as most non-unix rsh versions, which
  243.      does not by default provide a transparent data stream.  In such
  244.      cases you probably want to try `:server:' instead of `:ext:'.  If
  245.      TEXT is something else, this may signify a problem with your CVS
  246.      server.  Double-check your installation against the instructions
  247.      for setting up the CVS server.
  248.  
  249. `cvs commit: warning: editor session failed'
  250.      This means that the editor which CVS is using exits with a nonzero
  251.      exit status.  Some versions of vi will do this even when there was
  252.      not a problem editing the file.  If so, point the CVSEDITOR
  253.      environment variable to a small script such as:
  254.  
  255.           #!/bin/sh
  256.           vi $*
  257.           exit 0
  258.  
  259. 
  260. File: cvs.info,  Node: Connection,  Next: Other problems,  Prev: Error messages,  Up: Troubleshooting
  261.  
  262. Trouble making a connection to a CVS server
  263. ===========================================
  264.  
  265.    This section concerns what to do if you are having trouble making a
  266. connection to a CVS server.  If you are running the CVS command line
  267. client running on Windows, first upgrade the client to CVS 1.9.12 or
  268. later.  The error reporting in earlier versions provided much less
  269. information about what the problem was.  If the client is non-Windows,
  270. CVS 1.9 should be fine.
  271.  
  272.    If the error messages are not sufficient to track down the problem,
  273. the next steps depend largely on which access method you are using.
  274.  
  275. `:ext:'
  276.      Try running the rsh program from the command line.  For example:
  277.      "rsh servername cvs -v" should print CVS version information.  If
  278.      this doesn't work, you need to fix it before you can worry about
  279.      CVS problems.
  280.  
  281. `:server:'
  282.      You don't need a command line rsh program to use this access
  283.      method, but if you have an rsh program around, it may be useful as
  284.      a debugging tool.  Follow the directions given for :ext:.
  285.  
  286. `:pserver:'
  287.      One good debugging tool is to "telnet servername 2401".  After
  288.      connecting, send any text (for example "foo" followed by return).
  289.      If CVS is working correctly, it will respond with
  290.  
  291.           cvs [pserver aborted]: bad auth protocol start: foo
  292.  
  293.      If this fails to work, then make sure inetd is working right.
  294.      Change the invocation in inetd.conf to run the echo program
  295.      instead of cvs.  For example:
  296.  
  297.           2401  stream  tcp  nowait  root /bin/echo echo hello
  298.  
  299.      After making that change and instructing inetd to re-read its
  300.      configuration file, "telnet servername 2401" should show you the
  301.      text hello and then the server should close the connection.  If
  302.      this doesn't work, you need to fix it before you can worry about
  303.      CVS problems.
  304.  
  305.      On AIX systems, the system will often have its own program trying
  306.      to use port 2401.  This is AIX's problem in the sense that port
  307.      2401 is registered for use with CVS.  I hear that there is an AIX
  308.      patch available to address this problem.
  309.  
  310. 
  311. File: cvs.info,  Node: Other problems,  Prev: Connection,  Up: Troubleshooting
  312.  
  313. Other common problems
  314. =====================
  315.  
  316.    Here is a list of problems which do not fit into the above
  317. categories.  They are in no particular order.
  318.  
  319.    * If you are running CVS 1.9.18 or older, and `cvs update' finds a
  320.      conflict and tries to merge, as described in *Note Conflicts
  321.      example::, but doesn't tell you there were conflicts, then you may
  322.      have an old version of RCS.  The easiest solution probably is to
  323.      upgrade to a current version of CVS, which does not rely on
  324.      external RCS programs.
  325.  
  326. 
  327. File: cvs.info,  Node: Credits,  Next: BUGS,  Prev: Troubleshooting,  Up: Top
  328.  
  329. Credits
  330. *******
  331.  
  332.    Roland Pesch, then of Cygnus Support <roland@wrs.com> wrote the
  333. manual pages which were distributed with CVS 1.3.  Much of their text
  334. was copied into this manual.  He also read an early draft of this
  335. manual and contributed many ideas and corrections.
  336.  
  337.    The mailing-list `info-cvs' is sometimes informative. I have
  338. included information from postings made by the following persons: David
  339. G. Grubbs <dgg@think.com>.
  340.  
  341.    Some text has been extracted from the man pages for RCS.
  342.  
  343.    The CVS FAQ by David G. Grubbs has provided useful material.  The
  344. FAQ is no longer maintained, however, and this manual is about the
  345. closest thing there is to a successor (with respect to documenting how
  346. to use CVS, at least).
  347.  
  348.    In addition, the following persons have helped by telling me about
  349. mistakes I've made:
  350.  
  351.      Roxanne Brunskill <rbrunski@datap.ca>,
  352.      Kathy Dyer <dyer@phoenix.ocf.llnl.gov>,
  353.      Karl Pingle <pingle@acuson.com>,
  354.      Thomas A Peterson <tap@src.honeywell.com>,
  355.      Inge Wallin <ingwa@signum.se>,
  356.      Dirk Koschuetzki <koschuet@fmi.uni-passau.de>
  357.      and Michael Brown <brown@wi.extrel.com>.
  358.  
  359.    The list of contributors here is not comprehensive; for a more
  360. complete list of who has contributed to this manual see the file
  361. `doc/ChangeLog' in the CVS source distribution.
  362.  
  363. 
  364. File: cvs.info,  Node: BUGS,  Next: Index,  Prev: Credits,  Up: Top
  365.  
  366. Dealing with bugs in CVS or this manual
  367. ***************************************
  368.  
  369.    Neither CVS nor this manual is perfect, and they probably never will
  370. be.  If you are having trouble using CVS, or think you have found a
  371. bug, there are a number of things you can do about it.  Note that if
  372. the manual is unclear, that can be considered a bug in the manual, so
  373. these problems are often worth doing something about as well as
  374. problems with CVS itself.
  375.  
  376.    * If you want someone to help you and fix bugs that you report,
  377.      there are companies which will do that for a fee.  Two such
  378.      companies are:
  379.  
  380.           Signum Support AB
  381.           Box 2044
  382.           S-580 02  Linkoping
  383.           Sweden
  384.           Email: info@signum.se
  385.           Phone: +46 (0)13 - 21 46 00
  386.           Fax:   +46 (0)13 - 21 47 00
  387.           http://www.signum.se/
  388.           
  389.           Cyclic Software
  390.           United States of America
  391.           http://www.cyclic.com/
  392.           info@cyclic.com
  393.  
  394.    * If you got CVS through a distributor, such as an operating system
  395.      vendor or a vendor of freeware CD-ROMs, you may wish to see
  396.      whether the distributor provides support.  Often, they will provide
  397.      no support or minimal support, but this may vary from distributor
  398.      to distributor.
  399.  
  400.    * If you have the skills and time to do so, you may wish to fix the
  401.      bug yourself.  If you wish to submit your fix for inclusion in
  402.      future releases of CVS, see the file HACKING in the CVS source
  403.      distribution.  It contains much more information on the process of
  404.      submitting fixes.
  405.  
  406.    * There may be resources on the net which can help.  Two good places
  407.      to start are:
  408.  
  409.           http://www.cyclic.com
  410.           http://www.loria.fr/~molli/cvs-index.html
  411.  
  412.      If you are so inspired, increasing the information available on
  413.      the net is likely to be appreciated.  For example, before the
  414.      standard CVS distribution worked on Windows 95, there was a web
  415.      page with some explanation and patches for running CVS on Windows
  416.      95, and various people helped out by mentioning this page on
  417.      mailing lists or newsgroups when the subject came up.
  418.  
  419.    * It is also possible to report bugs to `bug-cvs'.  Note that
  420.      someone may or may not want to do anything with your bug
  421.      report--if you need a solution consider one of the options
  422.      mentioned above.  People probably do want to hear about bugs which
  423.      are particularly severe in consequences and/or easy to fix,
  424.      however.  You can also increase your odds by being as clear as
  425.      possible about the exact nature of the bug and any other relevant
  426.      information.  The way to report bugs is to send email to
  427.      `bug-cvs@gnu.org'.  Note that submissions to `bug-cvs' may be
  428.      distributed under the terms of the GNU Public License, so if you
  429.      don't like this, don't submit them.  There is usually no
  430.      justification for sending mail directly to one of the CVS
  431.      maintainers rather than to `bug-cvs'; those maintainers who want
  432.      to hear about such bug reports read `bug-cvs'.  Also note that
  433.      sending a bug report to other mailing lists or newsgroups is *not*
  434.      a substitute for sending it to `bug-cvs'.  It is fine to discuss
  435.      CVS bugs on whatever forum you prefer, but there are not
  436.      necessarily any maintainers reading bug reports sent anywhere
  437.      except `bug-cvs'.
  438.  
  439.    People often ask if there is a list of known bugs or whether a
  440. particular bug is a known one.  The file BUGS in the CVS source
  441. distribution is one list of known bugs, but it doesn't necessarily try
  442. to be comprehensive.  Perhaps there will never be a comprehensive,
  443. detailed list of known bugs.
  444.  
  445.